<h3>ESTACI&Oacute;N 1: Inspecci&oacute;n inicial</h3>

<?php 
    echo $this->Form->create('ServiceOrderRow', array('action' => 'inspeccion_inicial'));
    echo $this->Form->input('id', array('type' => 'hidden'));    
    $tipos = array('A' => 'A', 'B'=>'B', 'C'=>'C', 'D'=>'D', 'F'=>'F', 'G'=>'G'); 
    echo $this->Form->create('ServiceOrderRow'); 
    echo $this->Form->input('service_order_id',  array('type' => 'hidden'));
    echo $this->Form->input('estado_cod',  array('type' => 'hidden', 'value' => '7'));
    $ubicacion_terminada = array('1' => 'Sector A', '2'=>'Sector B', '3'=>'Sector C', '4'=>'Sector D', '5'=>'Sector F', '6'=>'Sector G'); 

    // echo $this->Form->input('service_order_id',  array('type' => 'hidden'));
    // echo $this->Form->create('ServiceOrderRow', array('action' => 'edit'));
    // echo $this->Form->input('id', array('type' => 'hidden'));
    // echo $this->Form->input('service_order_id',  array('type' => 'hidden'));
?>

<table class = "table table-striped">
     <tr>
        <td class="title">Recapados Anteriores: </td>
        <td class="text"><?php echo $this->Form->radio('recapados_ant',array( 2 =>'   SI ',  1 =>'   NO '), array('empty' => false, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Reparaciones Anteriores: </td>
        <td class="text"><?php echo $this->Form->radio('reparaciones_ant',array( 2 =>'   SI ',1 =>'   NO ',), array('empty' => false, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Apta: </td>
        <td class="text"><?php  echo $this->Form->radio('apta', array( 0=>'  No Apta  ', 1 =>'  Apta  '), array('empty' => false, 'label' => false, 'legend' => false)); ?>
        </td>
    </tr>
    <tr>
        <td class="title">Razon para no ser apta: </td>
        <td class="text"><?php echo $this->Form->input('razon_no_apta', array('label' => false)); ?></td>
    </tr>
    <tr>
        <td span="2"><h3>ESTACI&Oacute;N 2: Pulido</h3> </td>
        
    </tr>
    <tr>
        <td class="title">Pulido: </td>
        <td class="text"><?php echo $this->Form->radio('pulido',array( 2 =>'   SI ',1 =>'   NO ',), array('empty' => false, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Hora pulido: </td>
        <td class="text">
        <?php
            echo $this->Form->input('pulido_hora', array('type' => 'datetime', 'options' => array('label' => false, 'legend' => false))); 
        ?>
        </td>
    </tr>
    <tr>
        <td colspan="3"><h3>ESTACI&Oacute;N 3: Embandado</h3> </td>        
    </tr>
    <tr>
        <td class="title">Pintado Flux: </td>
        <td class="text"><?php echo $this->Form->radio('pintado_flux',array( 2 =>'   SI ',1 =>'   NO ',), array('empty' => false, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Hora pintado flux: </td>
        <td class="text">
        <?php
            echo $this->Form->input('pintado_flux_hora', array('type' => 'datetime', 'options' => array('label' => false, 'legend' => false))); 
        ?>
        </td>
    </tr>
   
    <tr>
        <td class="title">Cojin: </td>
        <td class="text">
        <?php
            echo $this->Form->radio('cojin',array( 2 =>'   SI ',1 =>'   NO ',), array('empty' => false, 'label' => false, 'legend' => false));  ?>
        </td>
    </tr>
    <tr>
        <td class="title">Cojin hora: </td>
        <td class="text">
            <?php echo $this->Form->input('cojin_hora', array('type' => 'datetime', 'options' => array('label' => false, 'legend' => false))); ?>
        </td>
    </tr>
    <tr>
        <td class="title">Cojin LOTE: </td>
        <td class="text">
            <?php echo $this->Form->text('cojin_lote', array('label' => false)); ?>
        </td>
    </tr>
    
    <tr>
        <td span="2"><h3>ESTACI&Oacute;N 4: Cocinado</h3> </td>
    </tr>
    <tr>
        <td class="title">Envelope: </td>
        <td class="text"><?php echo $this->Form->select('envelope',array( 1 => 'A1', 2 => 'A2', 3 => 'A3' , 4 => 'A4' , 5 => 'B1' , 6 => 'B2' , 7 => 'B3' , 8 => 'B4' , 9 => 'B5' ,10 => 'B6' ,), array('empty' => true, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Inner: </td>
        <td class="text"><?php echo $this->Form->select('iner',array( 1 => 'K1', 2 => 'K2', 3 => 'K3' , 4 => 'K4' , 5 => 'K5' , 6 => 'K6' , 7 => 'K7' , 8 => 'K8' , 9 => 'K9' ,10 => 'K10' ,), array('empty' => true, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Cámara: </td>
        <td class="text"><?php echo $this->Form->select('camara',array( 1 => 'P1', 2 => 'P2', 3 => 'P3' , 4 => 'P4' , 5 => 'Q1' , 6 => 'Q2' , 7 => 'Q3' , 8 => 'Q4' , 9 => 'Q5' ,10 => 'Q6' ,), array('empty' => true, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Protector: </td>
        <td class="text"><?php echo $this->Form->select('protector',array( 1 => 'V1', 2 => 'V2', 3 => 'V3' , 4 => 'V4' , 5 => 'W1' , 6 => 'W2' , 7 => 'W3' , 8 => 'W4' , 9 => 'W5' ,10 => 'W6' ,), array('empty' => true, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Autoclave: </td>
        <td class="text">
        <?php
            echo $this->Form->radio('cojin',array( 2 =>'   GRANDE ',1 =>'   CHICA ',), array('empty' => false, 'label' => false, 'legend' => false));  ?>
        </td>
    </tr>
    <tr>
        <td class="title">Ubicacion terminada: </td>
        <td class="text"><?php echo $this->Form->select('ubicacion_terminada', $ubicacion_terminada, array('label' => false)); ?></td>
    </tr>

    <tr>
       
        <td colspan="2" class="button"><?php echo $this->Form->end('Guardar'); ?></td>
    </tr>

</table>


